import { Tabs as AntdTabs } from 'antd';
import React from 'react';

import type { TabsProps as AntdTabsProps, TabPaneProps } from 'antd';

export type TabsProps = AntdTabsProps;

function Tabs(props: TabsProps) {
  return <AntdTabs {...props} />;
}
function TabPane(props: TabPaneProps) {
  return <AntdTabs.TabPane {...props} />;
}
Tabs.TabPane = TabPane;
export { TabPane };
export default Tabs;
